.class public Les/zr;
.super Les/yr;
.source "InfoSceneBase.java"


# instance fields
.field public c:I

.field public d:Z

.field public e:Les/wr;

.field public f:Les/as;

.field public g:Les/as;

.field public h:Les/as;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, v0}, Les/zr;-><init>(Z)V

    return-void
.end method

.method public constructor <init>(Z)V
    .locals 1

    .line 2
    invoke-direct {p0}, Les/yr;-><init>()V

    .line 3
    new-instance v0, Les/wr;

    invoke-direct {v0}, Les/wr;-><init>()V

    iput-object v0, p0, Les/zr;->e:Les/wr;

    .line 4
    invoke-virtual {p0, p1}, Les/zr;->a(Z)V

    return-void
.end method


# virtual methods
.method public a(Les/as;Les/as;)V
    .locals 0

    .line 18
    iput-object p1, p0, Les/zr;->f:Les/as;

    .line 19
    iput-object p2, p0, Les/zr;->g:Les/as;

    return-void
.end method

.method public a(Les/wr;)V
    .locals 6

    if-nez p1, :cond_0

    return-void

    .line 20
    :cond_0
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget v1, v0, Les/wr;->g:I

    const/4 v2, -0x1

    if-ne v1, v2, :cond_1

    .line 21
    iget v1, p1, Les/wr;->g:I

    iput v1, v0, Les/wr;->g:I

    .line 22
    :cond_1
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget v1, v0, Les/wr;->f:I

    if-ne v1, v2, :cond_2

    .line 23
    iget v1, p1, Les/wr;->f:I

    iput v1, v0, Les/wr;->f:I

    .line 24
    :cond_2
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget v1, v0, Les/wr;->h:I

    if-ne v1, v2, :cond_3

    .line 25
    iget v1, p1, Les/wr;->h:I

    iput v1, v0, Les/wr;->h:I

    .line 26
    :cond_3
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget-wide v1, v0, Les/xr;->b:J

    const-wide/16 v3, -0x1

    cmp-long v5, v1, v3

    if-nez v5, :cond_4

    .line 27
    iget-wide v1, p1, Les/xr;->b:J

    iput-wide v1, v0, Les/xr;->b:J

    .line 28
    :cond_4
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget-object v0, v0, Les/xr;->d:Ljava/util/List;

    if-eqz v0, :cond_5

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_6

    .line 29
    :cond_5
    iget-object v0, p0, Les/zr;->e:Les/wr;

    iget-object p1, p1, Les/xr;->d:Ljava/util/List;

    iput-object p1, v0, Les/xr;->d:Ljava/util/List;

    :cond_6
    return-void
.end method

.method public a(Lorg/json/JSONObject;)V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    const-string v0, "mode"

    .line 1
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 2
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Les/yr;->a:I

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 3
    iput v0, p0, Les/yr;->a:I

    :goto_0
    const-string v0, "priority"

    .line 4
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Les/zr;->c:I

    const-string v0, "default_enable"

    .line 5
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 6
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getBoolean(Ljava/lang/String;)Z

    move-result v0

    iput-boolean v0, p0, Les/zr;->d:Z

    .line 7
    :cond_1
    iget-object v0, p0, Les/zr;->e:Les/wr;

    invoke-virtual {v0, p1}, Les/wr;->a(Lorg/json/JSONObject;)V

    .line 8
    iget-object v0, p0, Les/zr;->h:Les/as;

    if-nez v0, :cond_5

    .line 9
    iget-object v0, p0, Les/zr;->f:Les/as;

    const/4 v1, 0x0

    if-eqz v0, :cond_3

    const-string v0, "newUser"

    .line 10
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 11
    iget-object v2, p0, Les/zr;->f:Les/as;

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v2, v0}, Les/as;->a(Lorg/json/JSONObject;)V

    goto :goto_1

    .line 12
    :cond_2
    iput-object v1, p0, Les/zr;->f:Les/as;

    .line 13
    :cond_3
    :goto_1
    iget-object v0, p0, Les/zr;->g:Les/as;

    if-eqz v0, :cond_6

    const-string v0, "oldUser"

    .line 14
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_4

    .line 15
    iget-object v1, p0, Les/zr;->g:Les/as;

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    invoke-virtual {v1, p1}, Les/as;->a(Lorg/json/JSONObject;)V

    goto :goto_2

    .line 16
    :cond_4
    iput-object v1, p0, Les/zr;->g:Les/as;

    goto :goto_2

    .line 17
    :cond_5
    invoke-virtual {v0, p1}, Les/as;->a(Lorg/json/JSONObject;)V

    :cond_6
    :goto_2
    return-void
.end method

.method protected a(Z)V
    .locals 0

    return-void
.end method
